import request from '@/utils/request'

// 查询资源池列表
export function listPool(query) {
  return request({
    url: '/official/pool/list',
    method: 'get',
    params: query
  })
}

// 保存资源池信息
export function savePool(data) {
  return request({
    url: '/official/pool/savePool',
    method: 'post',
    data: data
  })
}

// 删除资源池信息
export function deletePool(ids) {
  return request({
    url: `/official/pool/delete/${ids}`,
    method: 'delete'
  })
}